package com.yhf.mapper;

import com.yhf.bean.Admin;
import com.yhf.bean.LoginForm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface AdminMapper {
    Admin login(LoginForm loginForm);

    List<Admin> getAdminList(Admin admin);

    Admin findByName(String name);

    int addAdmin(Admin admin);

    int updateAdmin(Admin admin);

    int deleteAdmin(Integer[] ids);

    int updatePassword(Admin admin);
}
